DevJourney

MATLAB/VIT/Sem I/Ex - 2/q9.m

x = -1 : .05 : 1;
y = -1 : .05 : 1;
[x,y] = meshgrid(x,y);
z = x.*y.^2-x.^3
surf(x,y,z);
colormap spring
shading interp
View on GitHub